import React, { Component } from 'react'
import {NavLink} from 'react-router-dom'
import './index.css'

export default class LeftNav extends Component {
    render() {
        return (
            <div {...this.props}>
                <NavLink to="/usercenter" className="navBar" activeClassName="active_nav">个人中心</NavLink>
                <NavLink to="/problempool" className="navBar" activeClassName="active_nav">题库管理</NavLink>
            </div>
        )
    }
}
